﻿using Assets.Script.Data.EnemyData;
using Assets.Script.Data.Player;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace Assets.Script.Human.Enemy
{
    public class BaseEnemyAction
    {
        protected EnemyBody body;
        protected EnemyData data;
        protected EnemyState state;
        protected Animator animator;
        public BaseEnemyAction(EnemyBody enemyBody)
        {
            body = enemyBody;
            data = enemyBody.Data;
            state = enemyBody.State;
            animator = enemyBody.GetComponent<Animator>();
        }
    }
}
